<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>pyswapdmtgui: SwapBrowser::SwapBrowser Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  <td id="projectlogo"><img alt="Logo" src="panStamp_web.png"/></td>
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">pyswapdmtgui
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><b>SwapBrowser</b>      </li>
      <li class="navelem"><a class="el" href="classSwapBrowser_1_1SwapBrowser.html">SwapBrowser</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a>  </div>
  <div class="headertitle">
<div class="title">SwapBrowser::SwapBrowser Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="SwapBrowser::SwapBrowser" -->
<p>SWAP data browser.  
 <a href="classSwapBrowser_1_1SwapBrowser.html#details">More...</a></p>

<p><a href="classSwapBrowser_1_1SwapBrowser-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSwapBrowser_1_1SwapBrowser.html#af8195f84a35f1209a6e1d5faa14a6894">__init__</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Class constructor.  <a href="#af8195f84a35f1209a6e1d5faa14a6894"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2f912e20e05929f3eaac6d66366a42a6"></a><!-- doxytag: member="SwapBrowser::SwapBrowser::build_tree" ref="a2f912e20e05929f3eaac6d66366a42a6" args="" -->
def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSwapBrowser_1_1SwapBrowser.html#a2f912e20e05929f3eaac6d66366a42a6">build_tree</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Build SWAP tree. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSwapBrowser_1_1SwapBrowser.html#a6321b519bdb92669d3b3828691900bdb">addMote</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Add mote to the tree.  <a href="#a6321b519bdb92669d3b3828691900bdb"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSwapBrowser_1_1SwapBrowser.html#a754fb15033ce8d2c0d03f74c8400c7a5">updateEndpointInTree</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Update endpoint value in tree.  <a href="#a754fb15033ce8d2c0d03f74c8400c7a5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSwapBrowser_1_1SwapBrowser.html#a36e5832c094203eb880b61d19d7b1254">updateAddressInTree</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Update mote address in tree.  <a href="#a36e5832c094203eb880b61d19d7b1254"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSwapBrowser_1_1SwapBrowser.html#a23bb77dd6d77b2a239391bc5fbbb965e">syncReceived</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">SYNC signal received.  <a href="#a23bb77dd6d77b2a239391bc5fbbb965e"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa51c4f268c76170af03810510ec24d45"></a><!-- doxytag: member="SwapBrowser::SwapBrowser::parent" ref="aa51c4f268c76170af03810510ec24d45" args="" -->
&#160;</td><td class="memItemRight" valign="bottom"><b>parent</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad22441feeda2b4cc5e3cf9033bc8efbf"></a><!-- doxytag: member="SwapBrowser::SwapBrowser::server" ref="ad22441feeda2b4cc5e3cf9033bc8efbf" args="" -->
&#160;</td><td class="memItemRight" valign="bottom"><b>server</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7bf5242abef4b675924922943eb4de93"></a><!-- doxytag: member="SwapBrowser::SwapBrowser::monitor" ref="a7bf5242abef4b675924922943eb4de93" args="" -->
&#160;</td><td class="memItemRight" valign="bottom"><b>monitor</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae6c10df742f55d3552c8dae90203b747"></a><!-- doxytag: member="SwapBrowser::SwapBrowser::menuGateway" ref="ae6c10df742f55d3552c8dae90203b747" args="" -->
&#160;</td><td class="memItemRight" valign="bottom"><b>menuGateway</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aedd0b6ab30760ce04b201e09741aad44"></a><!-- doxytag: member="SwapBrowser::SwapBrowser::tree" ref="aedd0b6ab30760ce04b201e09741aad44" args="" -->
&#160;</td><td class="memItemRight" valign="bottom"><b>tree</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a33dbbe6e52a78b6c79e2c92b87dce049"></a><!-- doxytag: member="SwapBrowser::SwapBrowser::rootIcon" ref="a33dbbe6e52a78b6c79e2c92b87dce049" args="" -->
&#160;</td><td class="memItemRight" valign="bottom"><b>rootIcon</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac427fcd31af00f76a3fea4c116d121d6"></a><!-- doxytag: member="SwapBrowser::SwapBrowser::moteIcon" ref="ac427fcd31af00f76a3fea4c116d121d6" args="" -->
&#160;</td><td class="memItemRight" valign="bottom"><b>moteIcon</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5a36e6b0c830ee4d6bf05f4847c6df06"></a><!-- doxytag: member="SwapBrowser::SwapBrowser::regRegIcon" ref="a5a36e6b0c830ee4d6bf05f4847c6df06" args="" -->
&#160;</td><td class="memItemRight" valign="bottom"><b>regRegIcon</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6e16c410a787619e1cd30324516d3613"></a><!-- doxytag: member="SwapBrowser::SwapBrowser::cfgRegIcon" ref="a6e16c410a787619e1cd30324516d3613" args="" -->
&#160;</td><td class="memItemRight" valign="bottom"><b>cfgRegIcon</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a26ef0ec00de65889a3eb9167d5e06d38"></a><!-- doxytag: member="SwapBrowser::SwapBrowser::cfgParamIcon" ref="a26ef0ec00de65889a3eb9167d5e06d38" args="" -->
&#160;</td><td class="memItemRight" valign="bottom"><b>cfgParamIcon</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3ac87090e505abb6a4e1a196be94cc2d"></a><!-- doxytag: member="SwapBrowser::SwapBrowser::inputIcon" ref="a3ac87090e505abb6a4e1a196be94cc2d" args="" -->
&#160;</td><td class="memItemRight" valign="bottom"><b>inputIcon</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac10fa1a2e35e2a1e333d237e00d70815"></a><!-- doxytag: member="SwapBrowser::SwapBrowser::outputIcon" ref="ac10fa1a2e35e2a1e333d237e00d70815" args="" -->
&#160;</td><td class="memItemRight" valign="bottom"><b>outputIcon</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a30823c46da2faa844f3a3a76a720656d"></a><!-- doxytag: member="SwapBrowser::SwapBrowser::rootID" ref="a30823c46da2faa844f3a3a76a720656d" args="" -->
&#160;</td><td class="memItemRight" valign="bottom"><b>rootID</b></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>SWAP data browser. </p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="af8195f84a35f1209a6e1d5faa14a6894"></a><!-- doxytag: member="SwapBrowser::SwapBrowser::__init__" ref="af8195f84a35f1209a6e1d5faa14a6894" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def SwapBrowser::SwapBrowser::__init__ </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>parent</em> = <code>None</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>server</em> = <code>None</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>monitor</em> = <code>None</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Class constructor. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">parent,:</td><td>parent object </td></tr>
    <tr><td class="paramname">monitor,:</td><td>monitor dialog </td></tr>
    <tr><td class="paramname">server,:</td><td>SWAP server </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a6321b519bdb92669d3b3828691900bdb"></a><!-- doxytag: member="SwapBrowser::SwapBrowser::addMote" ref="a6321b519bdb92669d3b3828691900bdb" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def SwapBrowser::SwapBrowser::addMote </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>mote</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Add mote to the tree. </p>
<p>'mote' Mote to be added to the tree </p>

</div>
</div>
<a class="anchor" id="a23bb77dd6d77b2a239391bc5fbbb965e"></a><!-- doxytag: member="SwapBrowser::SwapBrowser::syncReceived" ref="a23bb77dd6d77b2a239391bc5fbbb965e" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def SwapBrowser::SwapBrowser::syncReceived </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>mote</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>SYNC signal received. </p>
<p>'mote' Mote having entered the SYNC mode </p>

</div>
</div>
<a class="anchor" id="a36e5832c094203eb880b61d19d7b1254"></a><!-- doxytag: member="SwapBrowser::SwapBrowser::updateAddressInTree" ref="a36e5832c094203eb880b61d19d7b1254" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def SwapBrowser::SwapBrowser::updateAddressInTree </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>mote</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Update mote address in tree. </p>
<p>'mote' Mote to be updated in the tree </p>

</div>
</div>
<a class="anchor" id="a754fb15033ce8d2c0d03f74c8400c7a5"></a><!-- doxytag: member="SwapBrowser::SwapBrowser::updateEndpointInTree" ref="a754fb15033ce8d2c0d03f74c8400c7a5" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def SwapBrowser::SwapBrowser::updateEndpointInTree </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>endpoint</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Update endpoint value in tree. </p>
<p>'endpoint' Endpoint to be updated in the tree </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>/home/daniel/development/Aptana/pyswapdmtgui/src/SwapBrowser.py</li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Variables</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Fri Dec 9 2011 16:55:12 for pyswapdmtgui by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.5.1
</small></address>

</body>
</html>
